home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ttf-kochi-mincho.prerm < prev    next >
Text File  |  2008-08-15  |  1KB  |  46 lines

  1. #! /bin/sh
  2. # prerm script for ttf-kochi-naga10
  3. #
  4. # see: dh_installdeb(1)
  5.  
  6. set -e
  7.  
  8. PACKAGE_NAME=ttf-kochi-mincho
  9. DEFOMA_HINTS_FILE=/etc/defoma/hints/$PACKAGE_NAME.hints
  10.  
  11. # summary of how this script can be called:
  12. #        * <prerm> `remove'
  13. #        * <old-prerm> `upgrade' <new-version>
  14. #        * <new-prerm> `failed-upgrade' <old-version>
  15. #        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
  16. #        * <deconfigured's-prerm> `deconfigure' `in-favour'
  17. #          <package-being-installed> <version> `removing'
  18. #          <conflicting-package> <version>
  19. # for details, see http://www.debian.org/doc/debian-policy/ or
  20. # the debian-policy package
  21.  
  22.  
  23. case "$1" in
  24.     remove|upgrade|deconfigure)
  25. #       install-info --quiet --remove /usr/info/ttf-kochi-naga10.info.gz
  26.  
  27.         /usr/bin/defoma-font -vt purge-all $DEFOMA_HINTS_FILE
  28.  
  29.         ;;
  30.     failed-upgrade)
  31.         ;;
  32.     *)
  33.         echo "prerm called with unknown argument \`$1'" >&2
  34.         exit 1
  35.     ;;
  36. esac
  37.  
  38. # dh_installdeb will replace this with shell code automatically
  39. # generated by other debhelper scripts.
  40.  
  41.  
  42.  
  43. exit 0
  44.  
  45.  
  46.